package dk.mirasola.systemtraining.bridgewidgets.shared.util;

import dk.mirasola.systemtraining.bridgewidgets.shared.model.Card;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

public class CardUtil {
    public static List<Card> sort(Collection<Card> cards) {
        List<Card> res = new ArrayList<Card>(cards);
        Collections.sort(res);
        return res;
    }

    private CardUtil() {
    }
}
